// import { ReqPage } from "@/api/interface/index";
// 用户管理模块
export namespace Log {
  // export interface ReqUserParams extends ReqPage {
  //   uniq_code: string;
  //   name: string;
  //   mobile_phone: string;
  //   username: string;
  //   email: string;
  //   org_id: string;
  // }
  export interface ResLogList {
    id: number;
    create_at: string;
    detail: string;
    result: { key: string; verbose: string };
    source: string;
    user: string;
  }
  export interface ResCloudLogList {
    cloud_env_id: number;
    created_at: string;
    expected_data: object;
    extra: any;
    ip_address: string;
    object_name: string;
    object_type: string;
    object_uuid: string;
    operation_id: number;
    operation_name: string;
    origin_data: string;
    request_id: string;
    res_org_id: string;
    res_org_id_path: string;
    res_org_name: string;
    res_org_path: string;
    result_data: any;
    status: string;
    sync_type: string;
    updated_at: string;
    user_id: number;
    user_name: string;
    uuid: string;
  }
}

export namespace LogTree {
  export interface ResTreeList {
    id: number;
    child: string;
    name: string;
  }
}
